part of '../repository.dart';

const _kWebTransactionPaymentSystemKey = 'payment_system';
const _kWebTransactionTypeKey = 'type';
const _kWebTransactionIdKey = 'id';
const _kWebTransactionUserIdKey = 'user_id';
const _kWebTransactionPurchaseItemSkuKey = 'purchase_item_sku';
const _kWebTransactionPaymentMethodIdKey = 'payment_method_id';
const _kWebTransactionAmountKey = 'amount';
const _kWebTransactionTimeKey = 'time';
const _kWebTransactionTestKey = 'test';

abstract class _WebTransactionDto {
  String get id;

  String get userId;

  String get purchaseItemSku;

  String get paymentMethodId;

  _MoneyAmountDto get amountDto;

  _TimeDto get timeDto;

  bool get test;

  String get paymentSystem;

  String get type;

  Map<String, dynamic> toJson();

  WebTransaction toEntity();
}
